package com.automannn.tomcat.practice.springWeb.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author chenkh
 * @time 2022/1/17
 */

@Controller
@RequestMapping("/view")
public class AutomannnViewCongroller {

    @RequestMapping
    public String sayHello(){
        System.out.println("automan view controller 触发了!");
        return "view";
    }
}
